#ifndef TREEITEM_CHAPTER_H
#define TREEITEM_CHAPTER_H

#include "IBookListItem.h"

namespace Jonathan
{

   class TreeItem_Chapter : public IBookListItem
   {
   public:
      TreeItem_Chapter              (int chapter, QTreeWidgetItem *parent);
      TreeItem_Chapter              (QTreeWidgetItem *parent);
      void LoadChildren             () { /*No children for a chapter.*/ }
      BookItemType GetBookItemType  () { return this->m_Type; }
      QString GetName               ();

   private:
      int                           m_Chapter;
      BookItemType                  m_Type;
   };

}

#endif // TREEITEM_CHAPTER_H
